package com.example.demo.mapper;

import com.example.demo.common.domain.LeaveRecordPlus;
import com.example.demo.common.domain.Leave_Record;
import com.example.demo.common.domain.Leave_RecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface Leave_RecordMapper {
    long countByExample(Leave_RecordExample example);

    int deleteByExample(Leave_RecordExample example);

    int deleteByPrimaryKey(Integer lid);

    int insert(Leave_Record record);

    int insertSelective(Leave_Record record);

    List<Leave_Record> selectByExample(Leave_RecordExample example);

    Leave_Record selectByPrimaryKey(Integer lid);

    int updateByExampleSelective(@Param("record") Leave_Record record, @Param("example") Leave_RecordExample example);

    int updateByExample(@Param("record") Leave_Record record, @Param("example") Leave_RecordExample example);

    int updateByPrimaryKeySelective(Leave_Record record);

    int updateByPrimaryKey(Leave_Record record);

    List<LeaveRecordPlus> seletAllPlus();

    List<LeaveRecordPlus> GeneralSelectAllLeave();

    List<LeaveRecordPlus> DeputySelectAllLeave();
}